<?php

class Soul_Model_Property_Integer extends Soul_Model_Property_Base {

    public function __construct() {
        parent::__construct();
        $this->setDefaultValue(0)
             ->addRule(new Soul_Validation_Rule_Integer());
    }

    public function getPropertyType() {
        return 'integer';
    }
    
    public function getParameterType() {
        return 'i';
    }
}